<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body background="../Public/images/mainbg1.gif">
<div style="width:600px; height:300px; background:url(../Public/images/mainbg.png); margin:0 auto; margin-top:130px; ">
<form action="{:U('Login/login')}" method="post">

<table  style=" float:left; width:600px; margin-top:80px; line-height:28px; font-size:14px; ">

<tr><td style=" width:220px; text-align:right; ">用户名：</td><td> <input type="text" name="name"></td></tr>
<tr><td align="right">密码：</td><td><input type="password" name="password"/></td></tr>
<tr><td></td><td><input type='text' name='verifyTest' size="5" />
 <img style='cursor:pointer; margin-left:10px; ' title='刷新验证码' src="{:U('Login/verify')}" id='verifyImg' onClick='javascript:resetVerifyCode();'/></td></tr>
 <tr><td></td><td> <input type="submit" name="submit" value="登录"></td></tr>
 </table>
</form>

<script language="JavaScript">

function resetVerifyCode(){	//重载验证码

	
	var timenow = new Date().getTime();
	document.getElementById('verifyImg').src= '{:U("Login/verify")}#'+timenow;
}


</script>
</div>
</body>
</html>